﻿using System.Data;
using System.Collections.Generic;
using TravianAutoQueue.DomainModel.Entities;

namespace TravianAutoQueue.DomainModel.Repositories
{
    public interface IBuildingRepository
    {
        T MapDataRowToEntity<T>(DataRow dataRow) where T : new();
        IBuilding GetBuilding(int id);
        IBuilding GetBuildingByType(Enums.BuildingType type);
    }
}
